﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using pwblog.BusinessObject;
using pwblog.Entities;

namespace pwblog.Web.Blocks
{
    public partial class recentcomments : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CommentBo commentBo = new CommentBo();
            rcommentsRepeater.DataSource = commentBo.GetCommentsWithRange(0, 10);
            rcommentsRepeater.DataBind();
        }
    }
}